From d262f740b2ad468598c265759622abf4c486f0dc Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 24 Feb 2021 20:06:36 -0500 Subject: [PATCH] texture: Add property annotations Connect properties, getters, and setters with annotations. --- gdk/gdktexture.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gdk/gdktexture.c b/gdk/gdktexture.c index 6e3bc73380..07235eb97c 100644 --- a/gdk/gdktexture.c +++ b/gdk/gdktexture.c @@ -194,7 +194,7 @@ gdk_texture_class_init (GdkTextureClass *klass) gobject_class->dispose = gdk_texture_dispose; /** - * GdkTexture:width: + * GdkTexture:width: (attributes org.gtk.Property.get=gdk_texture_get_width) * * The width of the texture, in pixels. */ @@ -211,7 +211,7 @@ gdk_texture_class_init (GdkTextureClass *klass) G_PARAM_EXPLICIT_NOTIFY); /** - * GdkTexture:height: + * GdkTexture:height: (attributes org.gtk.Property.get=gdk_texture_get_height) * * The height of the texture, in pixels. */ @@ -382,7 +382,7 @@ gdk_texture_new_from_file (GFile *file, } /** - * gdk_texture_get_width: + * gdk_texture_get_width: (attributes org.gtk.Method.get_property=width) * @texture: a `GdkTexture` * * Returns the width of @texture, in pixels. @@ -398,7 +398,7 @@ gdk_texture_get_width (GdkTexture *texture) } /** - * gdk_texture_get_height: + * gdk_texture_get_height: (attributes org.gtk.Method.get_property=height) * @texture: a `GdkTexture` * * Returns the height of the @texture, in pixels. -- 2.30.2